<div class="input-group">
    <input type="text" class="form-control" placeholder="Search for..." ng-model="ssc.searchVal">
    <span class="input-group-btn">
        <button class="btn btn-success" type="button" ng-click="ssc.search(val)">
            <i class="fa fa-search"></i>  Search
        </button>
      </span>
</div>